Added unit test for Serializable attribute