remove Serializable interface and replace it with @Nested input declaration