Fixed resize issue
Started proper tests